Adding CSS class for nested <fieldset>s. Nesting fieldsets used to cause a huge amoun...
authorRoan Kattouw <catrope@users.mediawiki.org>
Tue, 15 Apr 2008 20:44:10 +0000 (20:44 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Tue, 15 Apr 2008 20:44:10 +0000 (20:44 +0000)
RELEASE-NOTES
includes/DefaultSettings.php
skins/monobook/main.css

index 373f129..6aa1e70 100644 (file)
@@ -75,6 +75,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 10457) Reorganize Special:Specialpages
 * Add a new hook EditPageBeforeConflictDiff to allow extensions like FCKeditor
   to modify the output for edit conflicts.
+* Add class="nested" for <fieldset>s so fieldsets inside fieldsets get
+  a slightly less huge margin and padding.
 
 === Bug fixes in 1.13 ===
 
index 6486c99..b4b0fea 100644 (file)
@@ -1336,7 +1336,7 @@ $wgCacheEpoch = '20030516000000';
  * to ensure that client-side caches don't keep obsolete copies of global
  * styles.
  */
-$wgStyleVersion = '134';
+$wgStyleVersion = '135';
 
 
 # Server-side caching:
index e46ea76..03fb31a 100644 (file)
@@ -177,6 +177,10 @@ fieldset {
        padding: 0 1em 1em;
        line-height: 1.5em;
 }
+fieldset.nested {
+       margin: 0 0 0.5em 0;
+       padding: 0 0.5em 0.5em;
+}
 legend {
        padding: .5em;
        font-size: 95%;